<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            margin: 0;
            padding: 0;
        }

        .container{
            width: 500px;
            height: 60px;
            /* border: 1px solid red; */
            margin: 40px;
        }

        ul{
            margin: 0;
            padding: 0;
            list-style: none;
        }

        ul li{ 
            float: left;
        }

        ul li img{
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: -30px;
        }

        ul li img:hover{
            margin-right: 0px;
        }
    </style>
</head>
<body>
    <div class="container">
        <ul>
            <li>
                <img src="/src/img/head-icon/1.png" alt="">
            </li>
            <li>
                <img src="/src/img/head-icon/2.png" alt="">
            </li>
            <li>
                <img src="/src/img/head-icon/3.png" alt="">
            </li>
            <li>
                <img src="/src/img/head-icon/4.png" alt="">
            </li>
        </ul>
    </div>
</body>
</html>